using System.Collections.Generic;
using OneGame.Gameplay.Core;

namespace OneGame.Gameplay.Monster
{
    public class ActorModel : IActorModel
    {
        private readonly Dictionary<CombatAttributeKeys, int> _attributes = new();
        public ActorState State { get; set; } = ActorState.Idle;

        public void SetAttribute(CombatAttributeKeys attributeKey, int value)
        {
            _attributes[attributeKey] = value;
        }

        public int GetAttribute(CombatAttributeKeys attributeKey)
        {
            return _attributes[attributeKey];
        }
    }
}